package com.yangit.temp.common.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import com.yangit.temp.common.entity.ParamDemo;

@Controller
public class ParamDemoController {

	@Autowired
	ParamDemo paramdemo;
	
	@RequestMapping("seeParam")
	@ResponseBody
	public String get() {
		return paramdemo.channel;
	}
	@RequestMapping("seeSign")
	@ResponseBody
	public String sign() {
		return paramdemo.signkey;
	}
	
}
